/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sockets;

/**
 *
 * @author aluno
 */
public class Item {
    static int contador;
    public int id, porta;
    public String ip;
    
    Item(String i, int p){
        id = contador;
        ip = i;
        porta = p;
        contador++;
    }
    @Override
    public String toString(){
         return ip + ":" + porta;
    }
    
}
